package com.imooc.service.solo;

import com.imooc.entity.bo.ShopCategory;
import com.imooc.entity.dto.Result;

import java.util.List;

/**
 * @author 折戟沉沙铁未销
 * @version V1.0
 * @date 2020/7/7-2020
 * @Description: 店铺分类service
 */
public interface ShopCategoryService {
    /**
     * 增加店铺分类
     * @param shopCategory
     * @return
     */
    Result<Boolean> addShopCategory(ShopCategory shopCategory);

    /**
     * 删除店铺分类
     * @param shopCategoryId
     * @return
     */
    Result<Boolean> removeShopCategory(Integer shopCategoryId);

    /**
     * 修改店铺分类
     * @param shopCategory
     * @return
     */
    Result<Boolean> modifyShopCategory(ShopCategory shopCategory);

    /**
     * 根据id查询店铺分类
     * @param shopCategoryId
     * @return
     */
    Result<ShopCategory> queryShopCategoryById(Integer shopCategoryId);

    /**
     * 查询店铺分类
     * @param shopCategory
     * @param pageIndex
     * @param pageSize
     * @return
     */
    Result<List<ShopCategory>> queryShopCategory(ShopCategory shopCategory,Integer pageIndex,Integer pageSize);

}
